import createAxios from '/@/utils/axios'

export const controllerUrl = '/system/product.Code/'


export function getElementApi(params: anyObj){
    return createAxios({
        url: controllerUrl + 'getElement',
        method: 'get',
        params
    },{
        showSuccessMessage: false
    })
}



export function agencyFee(data: anyObj) {
    return createAxios({
        url: controllerUrl + 'agencyFee',
        method: 'post',
        data: data,
    },{
        showSuccessMessage: true,
    })
}
